/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package escom.ipn.modelo.facade;
import escom.ipn.modelo.dao.XMLExternaDao;
import escom.ipn.modelo.dto.XMLExterna;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;


/**
 *
 * @author omar moreno
 */
public class XMLExternaFacade {
    private Connection cnn;
    private XMLExternaDao dao;
    
    public XMLExternaFacade(Connection cnn){
        this.cnn = cnn;
        dao = new XMLExternaDao();
    }
     public XMLExterna loadXML(XMLExterna a)
            throws SQLException{
        return dao.loadXMLObject(a, cnn);
    }
}
